package View;

import BO.OrderItem;

public class OrderItemView {
	private ItemView item;
	private int amount;
	
	public OrderItemView(OrderItem orderItem){
		item = new ItemView(orderItem.getItem());
		amount = orderItem.getAmount();
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}
	
	public void increaseAmount(int add){
		amount += add;
	}

	public ItemView getItem() {
		return item;
	}
}
